<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class UserIntegralChangeRecord extends Model
{
    //用戶積分變記錄
    protected $table = 'user_integral_change_record';

    public function getIntegralAttribute($key)
    {
        return round($key);
    }
}
